/* component/getCoupon/getCoupon.wxss */

.algin {
    display: flex;
    justify-content: center;
    align-items: center;
}

.between {
    display: flex;
    justify-content: space-between;
}

.around {
    display: flex;
    justify-content: space-around;
}

.v-center {
    display: flex;
    align-items: center;
}

.end {
    display: flex;
    justify-content: flex-end;
}

.stretch {
    display: flex;
    align-items: stretch;
}

.wrap {
    display: flex;
    flex-wrap: wrap;
}

.my-dialog {
    opacity: 1;
}

.my-dialog .my-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

.my-dialog .my-container {
    position: fixed;
    width: 100%;
    height: 60vh;
    bottom: 0;
    left: 0;
    background-color: #fff;
    overflow: hidden;
    z-index: 5000;
}

.my-dialog .my-container .titleBar {
    height: 5vh;
    background: #fff;
    padding-left: 20rpx;
}

.my-dialog .my-container .titleBar .close {
    width: 32rpx;
    height: 32rpx;
    line-height: 32rpx;
    text-align: center;
}

.couponList {
    height: 55vh;
    padding: 20rpx;
    overflow-x: hidden;
    overflow-y: scroll;
    background: #f3f3f3;
}

.coupon_item {
    height: 200rpx;
    background: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 10rpx;
}

.coupon_item::before {
    content: '';
    position: absolute;
    display: block;
    width: 20rpx;
    height: 20rpx;
    border-radius: 50%;
    background: #f3f3f3;
    z-index: 9999;
    top: 0;
    bottom: 0;
    left: -10rpx;
    margin: auto;
}

.coupon_item::after {
    content: '';
    position: absolute;
    display: block;
    width: 20rpx;
    height: 20rpx;
    border-radius: 50%;
    background: #f3f3f3;
    z-index: 9999;
    top: 0;
    bottom: 0;
    right: -10rpx;
    margin: auto;
}

.coupon_item .left_item {
    width: 35%;
    background: -webkit-linear-gradient(left top, #2f5290, #102658);
    background: -moz-linear-gradient(right bottom, #2f5290, #102658);
    background: -o-linear-gradient(right bottom, #2f5290, #102658);
    background: linear-gradient(to right bottom, #2f5290, #102658);
    color: #fff;
    text-align: center;
}
.coupon_item .left_item.over {
    background: #b3b3b3;
}
.coupon_item .left_item .money .num {
    font-size: 90rpx;
    font-weight: bold;
}
.coupon_item .right_item {
    width: 65%;
    padding: 10rpx 20rpx;
}
.coupon_item .right_item .range {
    height: 130rpx;
    line-height: 40rpx;
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}
.coupon_item .center_item .date {
    font-size: 20rpx;
    color: #595959;
}
.coupon_item .right_item .use_btn {
    padding: 2rpx 10rpx;
    border: 1px #454545 solid;
    color: #454545;
    border-radius: 20rpx;
    font-size: 24rpx;
}
.coupon_item .right_item .use_btn.over {
    border: 1px #bebebe solid;
    color: #bebebe;
}
